home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 52811 / 52811.xpi / chrome / content / crypt.xul < prev    next >
Extensible Markup Language  |  2009-08-24  |  4KB  |  101 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://global/skin/global.css"  type="text/css"?>
  3. <?xml-stylesheet href="chrome://crypt/skin/crypt.css" type="text/css"?> 
  4. <!DOCTYPE window SYSTEM "chrome://crypt/locale/crypt.dtd">
  5.  
  6. <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 
  7.         title="&title.label;" >
  8.     
  9.     <!-- Import the external JavaScript modules -->
  10.   <script language="JavaScript" type="text/javascript" src="crypt.js"/> 
  11.   <script language="JavaScript" type="text/javascript" src="AES/aes.js"></script>
  12.   <script language="JavaScript" type="text/javascript" src="AES/entropy.js"></script>
  13.   <script language="JavaScript" type="text/javascript" src="AES/aesprng.js"></script>
  14.   <script language="JavaScript" type="text/javascript" src="AES/lecuyer.js"></script>
  15.   <script language="JavaScript" type="text/javascript" src="AES/md5.js"></script>
  16.   <script language="JavaScript" type="text/javascript" src="AES/armour.js"></script>
  17.   <script language="JavaScript" type="text/javascript" src="AES/utf-8.js"></script>
  18.   <script language="JavaScript" type="text/javascript" src="AES/jscrypt.js"></script>    
  19.   <script language="JavaScript" type="text/javascript" src="Blowfish/blowfish.js"></script>    
  20.   <script language="JavaScript" type="text/javascript" src="about.js"/> 
  21.  
  22.   <!--Establishes a new string bundle, referenced by the ID "string-bundle", 
  23.   whose keys and values are to be loaded from the crypt.properties file-->
  24.   <stringbundleset id="stringbundleset">
  25.     <stringbundle id="string-bundle" src="chrome://crypt/locale/crypt.properties"/>
  26.   </stringbundleset>
  27.  
  28.   <toolbox flex="1">
  29.     <menubar id="sample-menubar">
  30.       <menu id="file-menu" label="&file.label;">
  31.         <menupopup id="file-popup">
  32.           <menuitem label="&default.label;" oncommand="CRYPT.resetDefault()"/>
  33.           <menuseparator/>
  34.           <menuitem label="&exit.label;" oncommand="CRYPT.closeWindow()"/>
  35.         </menupopup>
  36.       </menu>
  37.       <menu id="edit-menu" label="&what.label;">
  38.         <menupopup id="edit-popup">
  39.           <menuitem label="&help.label;" oncommand="ABOUT.loadInBrowser('&helpPage.url;',0)"/>
  40.           <menuseparator/>
  41.           <menuitem label="&info.label;" oncommand="CRYPT.openAbout()"/>
  42.         </menupopup>
  43.       </menu>
  44.     </menubar>
  45.   </toolbox>
  46.  
  47.     <description flex="1">&separate.label;</description>
  48.  
  49.     <hbox name="box" align="center">
  50.           <textbox type="password" name="text" maxlength="1024" size="27"
  51.         onfocus="ce();" onblur="ce();" onkeydown="CRYPT.keyPressEvent(event);"/>
  52.        
  53.           <button label="&go.label;" oncommand="CRYPT.init(event);"/> 
  54.     </hbox>
  55.  
  56.   <radiogroup id="password">
  57.     <hbox align="center">
  58.       <radio label="&radio.label1;" value="&radio.value1;"/>
  59.       <radio label="&radio.label2;" value="&radio.value2;"/> 
  60.       
  61.       <spacer flex="1"/>
  62.       
  63.       <groupbox>    
  64.         <checkbox id="pwdHS" label="&hidePwd.label;" checked="false" onclick="CRYPT.hidePwd(event);"/>
  65.       </groupbox>     
  66.     </hbox>
  67.   </radiogroup>
  68.  
  69.   <button disabled="true" id="gen" label="&gen.label;" oncommand="CRYPT.genKey();"/>
  70.     
  71.   <groupbox>
  72.     <label id="found" value=""/>
  73.   </groupbox>
  74.   
  75.   <groupbox>
  76.     <caption label="&groupbox.label;"/>
  77.     
  78.     <hbox>
  79.       <checkbox id="encryptYN" label="&check.label;" checked="false" onclick="CRYPT.changeStyle(event);"/>
  80.       
  81.       <spacer flex="1"/>
  82.       
  83.       <menulist disabled="true">
  84.             <menupopup>
  85.                   <menuitem width="180" label="&menu.label1;" value="&menu.value1;"/>
  86.                   <menuitem width="180" label="&menu.label2;" value="&menu.value2;"/>
  87.             </menupopup>
  88.       </menulist>
  89.     </hbox>
  90.     
  91.       <radiogroup id="encoding" disabled="true">
  92.         <hbox align="center">
  93.         <radio label="&radio2.label1;" value="&radio2.value1;"/>
  94.         <radio label="&radio2.label2;" value="&radio2.value2;"/>
  95.         <radio label="&radio2.label3;" value="&radio2.value3;"/>
  96.       </hbox>
  97.     </radiogroup>
  98.   </groupbox>
  99.  
  100. </window>
  101.